﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DddCms.Domain.Utility
{
    /// <summary>
    /// Manage password utility tool
    /// </summary>
    public interface IPasswordUtil
    {
        /// <summary>
        /// Verifies the specified STR1.
        /// </summary>
        /// <param name="str1">The STR1.</param>
        /// <param name="str2">The STR2.</param>
        /// <returns></returns>
        bool verify(string str1, string str2);

        /// <summary>
        /// Encryptions the specified input.
        /// </summary>
        /// <param name="input">The input.</param>
        /// <returns></returns>
        string encryption(string input);
    }
}
